package com.itheima.customer.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

//toogle breadcrumb
public interface BaseDao<T>  {
	
	void save(T t);

	List<T> findAll(DetachedCriteria dCriteria);

//	T findCustomer(T t);

	void update(T t);

	void delete(T t);

//	List<T> findAllCustomers();

//	T findCustomerById(Long custId);

}
